package com.jsbs.iam.auth.enums;

public enum RuleConditionEnum {
    RULE_CONDITION_GREATER(0, ">"),
    RULE_CONDITION_GREATER_OR_EQUAL(1, ">="),
    RULE_CONDITION_EQUAL(2, "="),
    RULE_CONDITION_LESS(3, "<"),
    RULE_CONDITION_LESS_OR_EQUAL(4, "<="),
    RULE_CONDITION_INCLUDE(5, "包含"),
    RULE_CONDITION_EXCLUDE(6, "不包含"),
    ;

    private int code;

    private String msg;

    private RuleConditionEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode(){
        return code;
    }

    public String getMsg(){
        return msg;
    }
}
